package model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

@Data
@Builder
@Schema(name = "Company", description = "企业机构")
public class Company {
	@Schema(description = "公司id")
	private Long companyId;

	@Schema(description = "公司名称")
	private String companyName;

	@Schema(description = "公司类型")
	private CompanyType companyType;

	@Schema(description = "注册地址")
	private String registrationAddress;

	@Schema(description = "注册日期")
	private LocalDate registrationDate;

	@Schema(description = "部门列表")
	private List<Department> departments;
}
